package day13;

import java.util.Iterator;
import java.util.Set;
public class CollectionUtil {
	public static void print(Set set){
		System.out.println("==========================");
		Iterator it = set.iterator();
		while(it.hasNext()){
			Student s = (Student) it.next();
			System.out.println(s.getId()+":"+s.getName()+":"+s.getAge());
		}
	}
}
